package com.itheima.wemedia.dto;

import com.itheima.common.dto.PageRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @version 1.0
 * @description 说明
 * @package com.itheima.wemedia.dto
 */
@Data
@ApiModel(value = "WmMaterialPageRequestDto", description = "素材分页查询条件")
public class WmMaterialPageRequestDto extends PageRequestDto {
    /**
     * 是否是收藏
     */
    @ApiModelProperty(notes = "是否是收藏", dataType = "Integer")
    private Integer isCollection;
    @ApiModelProperty(notes = "文章状态",dataType = "Integer")
    private Integer status;
    @ApiModelProperty(notes = "查找关键子（文章标题）",dataType = "String")
    private String keyWord;
    @ApiModelProperty(notes = "区分是提交还是草稿",dataType = "boolean")
    private Boolean resetPage;
    @ApiModelProperty(notes = "频道id",dataType = "Integer")
    private Integer channelId;
    @ApiModelProperty(notes = "文章发布开始日期",dataType = "LocalDateTime")
    private LocalDateTime beginPubDate;
    @ApiModelProperty(notes = "文章发布结束日期",dataType = "LocalDateTime")
    private LocalDateTime endPubDate;
}
